package com.w7vm.menuweb.entity;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Set;


/**
 * The persistent class for the RestauranteTipoSys database table.
 * 
 */
@Entity
@Table(name="RestauranteTipoSys")

@NamedQueries({
	@NamedQuery(name="RestauranteTipoSys.findTipoRestauranteByAll", 
					query="SELECT t FROM RestauranteTipoSy t")
})

public class RestauranteTipoSy implements Serializable {
	private static final long serialVersionUID = 1L;

	public static final String FIND_TIPO_BY_ALL = "RestauranteTipoSys.findTipoRestauranteByAll";

	@Id
	private int idRestauranteTipoSys;

	@Column(name="Tipo")
	private String tipo;

	//bi-directional many-to-one association to RestauranteFilialWeb
	@OneToMany(mappedBy="restauranteTipoSy")
	private Set<RestauranteFilialWeb> restauranteFilialWebs;

	//bi-directional many-to-one association to RestauranteSedeWeb
	@OneToMany(mappedBy="restauranteTipoSy")
	private Set<RestauranteSedeWeb> restauranteSedeWebs;

    public RestauranteTipoSy() {
    }

	public int getIdRestauranteTipoSys() {
		return this.idRestauranteTipoSys;
	}

	public void setIdRestauranteTipoSys(int idRestauranteTipoSys) {
		this.idRestauranteTipoSys = idRestauranteTipoSys;
	}

	public String getTipo() {
		return this.tipo;
	}

	public void setTipo(String tipo) {
		this.tipo = tipo;
	}

	public Set<RestauranteFilialWeb> getRestauranteFilialWebs() {
		return this.restauranteFilialWebs;
	}

	public void setRestauranteFilialWebs(Set<RestauranteFilialWeb> restauranteFilialWebs) {
		this.restauranteFilialWebs = restauranteFilialWebs;
	}
	
	public Set<RestauranteSedeWeb> getRestauranteSedeWebs() {
		return this.restauranteSedeWebs;
	}

	public void setRestauranteSedeWebs(Set<RestauranteSedeWeb> restauranteSedeWebs) {
		this.restauranteSedeWebs = restauranteSedeWebs;
	}
	
}